From 5e69fe17aebbd3c845ac12a00778080d8865f940 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 4 Jun 2017 21:48:41 -0400 Subject: [PATCH] center box: Add more documentation --- gtk/gtkcenterbox.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gtk/gtkcenterbox.c b/gtk/gtkcenterbox.c index 495a062c23..378fc968d7 100644 --- a/gtk/gtkcenterbox.c +++ b/gtk/gtkcenterbox.c @@ -31,6 +31,15 @@ * To add children to GtkCenterBox, use gtk_center_box_set_start_widget(), * gtk_center_box_set_center_widget() and gtk_center_box_set_end_widget(). * + * The sizing and positioning of children can be influenced with the + * align and expand properties of the children. + * + * # GtkCenterBox as GtkBuildable + * + * The GtkCenterBox implementation of the GtkBuildable interface supports + * placing children in the 3 positions by specifying “start”, “center” or + * “end” as the “type” attribute of a element. + * * # CSS nodes * * GtkCenterBox uses a single CSS node with name box. -- 2.30.2